﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入第一个数字");
            double num1 = double.Parse(Console.ReadLine());
            Console.WriteLine("请输入第二个数字");
            double num2 = double.Parse(Console.ReadLine());
            //实例化
            Calculate calculate = new Calculate();
            //加法
            Console.WriteLine("他们的加法为"+calculate.Add(num1, num2));
            //减法
            Console.WriteLine("他们的减法为"+calculate.Minusdd(num1,num2));
            //乘法
            Console.WriteLine("他们的乘法为"+calculate.Multiply(num1,num2));
            //除法
            Console.WriteLine("他们的除法为"+calculate.Divide(num1,num1));
        }
    }
}
